<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
	<title>File Upload Example</title>
	<link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css" />
</head>

<body>
	<s:actionerror />
	<s:fielderror />
	<s:form action="doUpload" method="POST" enctype="multipart/form-data">
		<h3>File Upload Example</h3>
	
		File: <s:file name="myFile"/><br/>
		Caption: <s:textfield name="myFileCaption"/><br/>
		<s:submit />
	</s:form>
</body>
</html>